package com.parking.certified.form;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@ApiOperation("添加物业对象")
public class AddCertifiedForm {
    /*
     *物业账号
     */
    @ApiModelProperty("物业账号")
    private String certifiedAccountAccount;
    /**
     * 物业信息名称
     */
    @ApiModelProperty("物业信息名称")
    private String certifiedInfoName;
    /**
     * 物业密码
     */
    @ApiModelProperty("物业密码")
    @Length(min = 6,max = 8,message = "密码长度错误6到8位")
    private String certifiedAccountPass;
    /**
     * 物业地址
     */
    @ApiModelProperty("物业地址")
    private String certifiedInfoAddress;
    /**
     * 物业营业执照
     */
    @ApiModelProperty("物业营业执照")
    private String certifiedInfoImg;

}
